package com.chushouya.common.wx.dto;

import com.chushouya.common.payment.PaymentRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@ApiModel("发起微信支付请求")
@Data
public class WxPaymentRequest extends PaymentRequest {

    @ApiModelProperty("支付描述")
    private String description;

    @ApiModelProperty("支付金额(传元):支付宝默认元，微信支付默认分需换算")
    private BigDecimal amount;

    @ApiModelProperty("微信支付时传入:微信用户ID")
    private String openId;

    @ApiModelProperty("请求Ip")
    private String ip;
}
